TARGET = OGLES2Coverflow
TEMPLATE = app

APPROOT = ../..
SDKROOT  = $$APPROOT/../../..

QT += opengl
CONFIG += qt console

# Add our source files
SOURCES +=  \
	$$SDKROOT/Demos/Coverflow/OGLES2/OGLES2Coverflow.cpp \
	$$SDKROOT/Shell/PVRShell.cpp \
	$$SDKROOT/Shell/API/Qt/PVRShellAPI.cpp \
	$$SDKROOT/Shell/OS/Qt/PVRShellOS.cpp

# Add our content files
CONTENTROOT = $$APPROOT/Content

SOURCES +=  \
	$$CONTENTROOT/Album1.cpp \
	$$CONTENTROOT/Album2.cpp \
	$$CONTENTROOT/Album3.cpp \
	$$CONTENTROOT/Album4.cpp \
	$$CONTENTROOT/Album5.cpp \
	$$CONTENTROOT/Album6.cpp \
	$$CONTENTROOT/Album7.cpp \
	$$CONTENTROOT/Album8.cpp \
	$$CONTENTROOT/Album9.cpp \
	$$CONTENTROOT/Album10.cpp \
	$$CONTENTROOT/Album11.cpp \
	$$CONTENTROOT/Album12.cpp \
	$$CONTENTROOT/Album13.cpp \
	$$CONTENTROOT/Album14.cpp \
	$$CONTENTROOT/Album15.cpp \
	$$CONTENTROOT/Album16.cpp \
	$$CONTENTROOT/FragShader.cpp \
	$$CONTENTROOT/VertShader.cpp

# Add our header files
HEADERS  +=  \
	$$SDKROOT/Shell/PVRShell.h \
	$$SDKROOT/Shell/PVRShellImpl.h \
	$$SDKROOT/Shell/API/Qt/PVRShellAPI.h \
	$$SDKROOT/Shell/OS/Qt/PVRShellOS.h

# Add our include paths
INCLUDEPATH +=  \
	$$SDKROOT/Shell \
	$$SDKROOT/Shell/API/Qt \
	$$SDKROOT/Shell/OS/Qt \
	$$SDKROOT/Builds/OGLES2/Include \
	$$SDKROOT/Tools/OGLES2

# depends
LIBS +=  \
	-L$$SDKROOT/Tools/OGLES2/Build/Qt \
	-lOGLES2Tools

# Install
target.path = /usr/bin
INSTALLS += target

DEFINES += BUILD_OGLES2 __QT__
